package ai.plantdata.dao.strategy;

import ai.plantdata.graph.api.schema.ConceptDefinition;
import ai.plantdata.graph.mongo.MongoGraphStore;
import ai.plantdata.vo.AssociationTable;
import ai.plantdata.vo.DataSourceConfig;
import ai.plantdata.vo.SeparateTable;

import java.util.List;
import java.util.Map;

/**
 * @Author: WangHui
 * @Date: 2021/7/20 11:27
 * @Description:
 */
public interface RelationHandle extends Handle {

    List<ConceptDefinition> schemaHandle(AssociationTable associationTable, DataSourceConfig dataSourceConfig, Map<String, SeparateTable> map, MongoGraphStore store);

    void entityHandle(AssociationTable associationTable, DataSourceConfig dataSourceConfig, MongoGraphStore store);

}
